CLIからHTMLファイルをlocalhostでweb broserに表示する
1. 閲覧したいdirectoryで↓を実行する
code:sh
閲覧したいdirectoryで↓を実行する
code:sh
code:script.ts
const app = createApp();
app.use(serveStatic("./"));
const port = 8899;
app.listen({ port });
console.log(open http://localhost:${port});